package com.kob.backend.service.impl.product;

import com.kob.backend.mapper.ProductMapper;
import com.kob.backend.pojo.product;
import com.kob.backend.service.product.ProductSearchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ProductSearchServiceImpl implements ProductSearchService {
    @Autowired
    private ProductMapper productMapper;
    @Override
    public List<product> searchproduct(String search_content) {
        return productMapper.search_product(search_content);
    }
}
